Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Not sure what you mean

To debug, what you'll need to do is trace back from the line giving you the error to the place where the bad thing gets set up.

An invalid subscript generally is something like doc.Field(-1); can't have a -1th array element.

How did it get to -1?
In one line, as I recall, you're doing some subtraction; you probably did 0 - 1 (or something similar).
So how did that happen?

Without watching your code run in the debugger, it's kind of hard to do more than suggest you run through the code one line at a time, write down what you think is going to happen and compare it to what actually does happen and then figure out why reality diverged from expectation.


Feedback response number WEBB9H4R7T created by ~Hank Lopvelutergon on 03/11/2014

Subscript out of range error (~Naomi Fezrebur... 11.Mar.14)
. . So... (~Fritz Ekfoober... 11.Mar.14)
. . . . Forgot about integers... (~Martha Lopjipy... 11.Mar.14)
. . Backtrack in your code (~Martha Lopjipy... 11.Mar.14)
. . . . One thing I don't understand (~Naomi Fezrebur... 11.Mar.14)
. . . . . . at what line is the error occuring?... (~Phil Nonhipige... 11.Mar.14)
. . . . . . Not sure what you mean (~Martha Lopjipy... 11.Mar.14)
. . choice is not zero? (~Judy Ektumizen... 12.Mar.14)
. . . . Resolution (~Naomi Fezrebur... 12.Mar.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS